package	com.mes.entity.check;

import com.mes.entity.hy.Product;
import com.mes.utils.PageBean;

/**
 *
 *@ClassName: RejectDeal
 *@Description: 不合格品处置
 *@Author tdd
 *@Date 2019-05-29 11:12:45
 *@version 1.0
*/
public class RejectDeal extends PageBean{
	/** id*/
	private Long id;
	/** 产品id*/
	private Long pid;
	private Product product;
	public Product getProduct() {
		return product;
	}
	/** 数量*/
	private int num;
	/** 处理意见*/
	private String opinion;
	/** 产品条码*/
	private String code;
	/** 录入人id*/
	private Long sid;
	public void setId(Long id){
		this.id = id;
	}
	public Long getId(){
		return id;
	}
	public void setPid(Long pid){
		this.pid = pid;
	}
	public Long getPid(){
		return pid;
	}
	public void setNum(int num){
		this.num = num;
	}
	public int getNum(){
		return num;
	}
	public void setOpinion(String opinion){
		this.opinion = opinion== null ? null : opinion.trim();
	}
	public String getOpinion(){
		return opinion;
	}
	public void setCode(String code){
		this.code = code== null ? null : code.trim();
	}
	public String getCode(){
		return code;
	}
	public void setProduct(Product product) {
		this.product = product;
	}
	public Long getSid() {
		return sid;
	}
	public void setSid(Long sid) {
		this.sid = sid;
	}
	
}
